diff -r -u busybox-0.35/Makefile busybox-0.35-l7k/Makefile --- busybox-0.35/Makefile Thu Nov 11 19:38:08 1999 +++ busybox-0.35-l7k/Makefile Tue Nov 16 22:22:33 1999 @@ -14,7 +14,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # - +CC=arm-linux-gcc PROG=busybox VERSION=0.35 @@ -26,7 +26,7 @@ # If you want a static binary, turn this on. I can't think # of many situations where anybody would ever want it static, # but... -DOSTATIC=false +DOSTATIC=true #This will choke on a non-debian system ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'` @@ -40,7 +40,7 @@ else CFLAGS=-Wall -Os -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE LDFLAGS= -s - STRIP= strip --remove-section=.note --remove-section=.comment $(PROG) + STRIP= arm-linux-strip --remove-section=.note --remove-section=.comment $(PROG) #Only staticly link when _not_ debugging ifeq ($(DOSTATIC),true) LDFLAGS+= --static diff -r -u busybox-0.35/busybox.def.h busybox-0.35-l7k/busybox.def.h --- busybox-0.35/busybox.def.h Thu Nov 11 17:52:01 1999 +++ busybox-0.35-l7k/busybox.def.h Sat Nov 20 21:21:55 1999 @@ -4,56 +4,56 @@ */ #define BB_BUSYBOX -#define BB_CAT +//#define BB_CAT #define BB_CHMOD_CHOWN_CHGRP -#define BB_CHROOT +//#define BB_CHROOT #define BB_CLEAR -#define BB_CP +//#define BB_CP #define BB_DATE -#define BB_DD -#define BB_DF +//#define BB_DD +//#define BB_DF #define BB_DMESG //#define BB_DUTMP //#define BB_FDFLUSH #define BB_FIND -#define BB_FSCK_MINIX +//#define BB_FSCK_MINIX //#define BB_MKFS_MINIX #define BB_CHVT #define BB_DEALLOCVT #define BB_GREP -//#define BB_HALT +#define BB_HALT #define BB_INIT -#define BB_KILL +//#define BB_KILL //#define BB_LENGTH -#define BB_LN -#define BB_LOADFONT -#define BB_LOADKMAP -#define BB_LS +//#define BB_LN +//#define BB_LOADFONT +//#define BB_LOADKMAP +//#define BB_LS //#define BB_MAKEDEVS //#define BB_MATH -#define BB_MKDIR -#define BB_MKNOD +//#define BB_MKDIR +//#define BB_MKNOD #define BB_MKSWAP //#define BB_MNC -#define BB_MORE -#define BB_MOUNT +//#define BB_MORE +//#define BB_MOUNT //#define BB_MT //#define BB_MTAB -#define BB_MV +//#define BB_MV //#define BB_PRINTF #define BB_PS #define BB_PWD #define BB_REGEXP #define BB_REBOOT -#define BB_RM -#define BB_RMDIR +//#define BB_RM +//#define BB_RMDIR //#define BB_SFDISK #define BB_SED -#define BB_SLEEP -#define BB_SWAPONOFF -#define BB_SYNC +//#define BB_SLEEP +//#define BB_SWAPONOFF +//#define BB_SYNC #define BB_TAR -#define BB_TOUCH +//#define BB_TOUCH //#define BB_TRUE_FALSE // Supplied by ash #define BB_UMOUNT #define BB_UPDATE